Conversation
|
✅ |
|
Why can't we just use dfmt to do this automatically and all in one PR? |
I think dfmt would even a lot more? |
|
I mean have dfmt do everything that it normally does and all in one PR. Assuming there are no bugs in dfmt, this should not be a problem. And even if there were, the auto-tester would catch them. We would then be able to diff any PR with the dfmt output to stop style deviations. |
|
Better that than hundreds of separate PRs, which is what it would take to enforce all of dfmt's rules. And like I said, the auto-tester will catch any errors. |
|
I thought that aligning trailing comments was a requirement for using dfmt? |
I just tried. |
bc55fb2 to
3d67cd2
Compare
done. |
|
If this was done automatically using sed, then LGTM |
|
Auto-merge toggled on |
That's very optimistic of you, for a ~100K line diff. It's not like we have 100% unit test coverage or anything... |
|
Thanks :) |
|
And now I wait for the yelling to start. |
|
Yep you were quite brave - I didn't expect it to be merged that quickly, but it just touches single lines so I hope for the best! |
|
You avoided the bikeshedding quite skillfully |
That's for DMD. I'm not sure anyone's really evaluated it for phobos yet - and phobos is not really internally consistent. |
follow-up to #4239